import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {RouterModule} from '@angular/router';
import {appRoutes} from './app.routes';
import {HttpModule} from '@angular/http';
import {FormsModule,ReactiveFormsModule} from '@angular/forms'

import {GrowlModule} from 'primeng/components/growl/growl';
import {AppComponent} from './app.component';
import {UserLoginService} from "./user/user-login/user-login.service";
import {ForgetPwdService} from "./user/forget-pwd/forget-pwd.service";
import {UserRegisterService} from "./user/user-register/user-register.service";
import {SharedModule} from "./shared/shared.module";
import {PostDetailService} from "./post/post-detail/services/post-detail.service";

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    ReactiveFormsModule,
    /*SharedModule,*/
    HttpModule,
    GrowlModule,
    RouterModule.forRoot(appRoutes)

  ],
  exports:[
    /*UserInfoComponent*/
  ],
  providers: [
    UserLoginService,
    UserRegisterService,
    PostDetailService
  ],
  bootstrap: [AppComponent]
})
export class AppModule {
}

